<nav class="navbar-inner">
  <div class="container">
    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
      <span class="icon-bar"></span>
    </a>
    <a class="brand" href="/">Leo的日志</a>

    <div class="nav-collapse">
      <ul class="nav">
        <li class="active">
          <%= link_to 'Home', admin_path %>
        </li>
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle='dropdown'>
            Articles
            <b class='caret'></b>
          </a>
          <ul class="dropdown-menu">
            <li><%= link_to "List all articles", admin_articles_path %></li>
            <li><%= link_to "New article", new_admin_article_path %></li>
          </ul>
        </li>
      </ul>
    </div>
  </div>
</nav>